<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <title>用户注册页面</title>
    <style type="text/css">
        /* 盒子外围的样式设置 */
        .box2 {
            width: 100%;
            height: 100vh;
            /* 弹性布局 */
            display: flex;
            /* 上下居中对齐 */
            align-items: center;
            /* 左右居中对齐 */
            justify-content: center;
        }

        /* 整个注册界面的样式设置 */
        .register_mark {
            width: 600px;
            height: 550px;
            /* 圆角边框 */
            border-radius: 30px;
            text-align: center;
            background:url(../img/log.png) ;
            background-size: 50% 50%;
            outline: 1px solid red
        }

        /* 注册标识文字的样式设置 */
        .user_register {
            font-size: 40px;
            color: purple;
            font-weight: bold;
            font-family: "microsoft yahei";
            line-height: 100px;
            margin-bottom: 20px;
        }

        /* 提示语文字的样式设置 */
        .mark_files {
            font-size: 16px;
            margin-top: 10px;
            text-align: left;
            padding-left: 86px;
        }

        /* 输入框的样式设置 */
        .input_mark input {
            width: 60%;
            height: 40px;
            margin-bottom: 30px;

        }

        label {
            display: inline-block;
            width: 80px;
        }

        /* 提交按钮的样式设置 */
        button {
            font-size: 17px;
            color: white;
            background: purple;
            border: none;
            height: 50px;
            width: 71.5%;
            margin-top: 20px;
        }

        /* 立即登录的样式设置 */
        .mark a {
            color: purple;
        }
    </style>
</head>

<body>
    <form action="" method="get">
        <div class="box2">
            <div class="register_mark">
                <div class="user_register">注册EnterChat</div>
                <div class="from">
                    <div class="input_mark">
                        <label for="username">用户名:</label>
                        <input type="text" placeholder="请输入用户名" id="username">
                    </div>
                    <div class="input_mark">
                        <label for="password">密码：</label>
                        <input type="password" placeholder="请输入密码" id="password"> 
                    </div>
                    <div class="input_mark">
                        <label for="rPassword">确认密码：</label>
                        <input type="password" placeholder="确认密码" id="rPassword">
                    </div>
                </div>
                <button type="button" class="buttom">完 成 注 册</button>

                <div class="mark">
                    <p>已有账号？<a href="/page/login.html">立即登录</a></p>
                </div>

            </div>
        </div>
    </form>



    <script src="../js/register.js" type="module"></script>
</body>

</html>